<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>react-state</title>
</head>
<body>

<div id="app">

</div>

</body>
<script src="../lib/react/react.development.js"></script>
<script src="../lib/react/react-dom.development.j.js"></script>
<script src="https://cdn.staticfile.org/babel-standalone/6.26.0/babel.min.js"></script>
<script type="text/babel">

     class Demo extends  React.Component{
         constructor(props){
             super(props);
             this.state = {
                  message:'hello mln'
             }
         }
         render(){
             return (<div>{this.state.message}</div>);
         }
     }

     ReactDOM.render(<Demo/>,document.getElementById('app'));

</script>


</html>